import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// css样式还是需要全部引入
// import 'element-ui/lib/theme-chalk/index.css'
// import element from './element/index'
// Vue.use(element)
Vue.config.productionTip = false

//按需导入vant
import vant from './vant/index'
Vue.use(vant)

// 导入全局过滤器
import MyFilter from '@/common/filter'
for (let key in MyFilter) {
  Vue.filter(key, MyFilter[key])
}
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
